package com.xueyi.system.auxiliaryReceive.domain.dto;

import com.xueyi.system.auxiliaryReceive.domain.po.AuxiliaryReceivePo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投入品领用 数据传输对象
 *
 * @author zlf
 */
public class AuxiliaryReceiveDto extends AuxiliaryReceivePo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialId", getMaterialId())
            .append("name", getName())
            .append("supplierId", getSupplierId())
            .append("supplierName", getSupplierName())
            .append("img", getImg())
            .append("producedDate", getProducedDate())
            .append("auxiliaryDate", getAuxiliaryDate())
            .append("auxiliaryNum", getAuxiliaryNum())
            .append("unit", getUnit())
            .append("auxiliaryUserId", getAuxiliaryUserId())
            .append("auxiliaryBuyUser", getAuxiliaryBuyUser())
            .append("affix", getAffix())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}